<?php
session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php
include( 'common/meta.php' );
include( 'common/header.php' );
?>
<script type="text/javascript" src="resource/js/WeiboUtility.js" ></script>
<title>话题线|北京时间</title>
</head>

<body>
	<div id="body">
	<?php
		include( 'common/account.php' );
                $adtype='ourdiary';
		include( 'common/ad.php' );
		?>

		<div class="filter-wrap"></div>
		
		<!--start <decorator:body />-->
		<div class="weibo_app_index">
<img src="resource/imgs/weibo_app.png " />

<div class="weibo_app_content">
<div class="weibo_app_content_left">
亲爱的用户们，欢迎使用 <b><a href="http://betalife.cn">北京时间-betalife</a></b> 新浪微博应用 -《话题线》。话题线为您提供丰富的微博第三方微博#话题#应用。
让你的能够更加方便的管理您发起或参与的的话题。点击《新浪微博账号登陆》- 通过授权，立即尽情的与您的好友展开精彩的话题讨论。

</div>
<?php
	if (!isset($_SESSION['user'])) {
?>	
	<script type="text/javascript">
	function forward(a){
		var nexturl="<?=$nexturl?>";
		if(isEmpty(nexturl)){
			nexturl=window.location.href;
		}
		a.href+=nexturl;
	}
	</script>
	<a href="forward.php?nexturl=" onclick="forward(this)"><img src="resource/imgs/weibo_login_32.png"  height="28"  /></a>	
<?php
	} else {
          //echo $_SESSION['user']['profile_image_url'];
?>
	<script type="text/javascript">
		$(document).ready(function(){
			var url = './trendsAndFriends.php';
                  //alert(<?$_SESSION['user']['profile_image_url']?>);
                  location.href=url;
			
		})
	</script>		
<?php
	}
?>
<div class="clear"></div>
</div>

</div>
		<!--end <decorator:body />-->
	</div>

		<?php
		include( 'common/footer.php' );
		?>
                
</body>

</html>